home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Source / GNU / cctools / as / symbols.h < prev    next >
Text File  |  1993-10-07  |  2KB  |  59 lines

  1. /* symbols.h -
  2.    Copyright (C) 1987 Free Software Foundation, Inc.
  3.  
  4. This file is part of GAS, the GNU Assembler.
  5.  
  6. GAS is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 1, or (at your option)
  9. any later version.
  10.  
  11. GAS is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GAS; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #import "struc-symbol.h"
  21. #import "hash.h"
  22.  
  23. #define symbol_table_lookup(name) ((symbolS *)(symbol_find (name)))
  24.  
  25. extern struct hash_control *sy_hash;
  26. extern struct obstack notes;
  27. extern symbolS *symbol_rootP;
  28. extern symbolS *symbol_lastP;
  29. extern symbolS abs_symbol;
  30.  
  31. extern void symbol_begin(
  32.     void);
  33. extern char *local_label_name(
  34.     int n,
  35.     int augend);
  36. extern void
  37.     local_colon(
  38.     int n);
  39. extern symbolS *symbol_new(
  40.     char *name,
  41.     unsigned char type,
  42.     char other,
  43.     short desc,
  44.     valueT value,
  45.     struct frag *frag);
  46. extern void colon(
  47.     char *sym_name);
  48. extern void symbol_table_insert(
  49.     struct symbol *symbolP);
  50. extern symbolS *symbol_find_or_make(
  51.     char *name);
  52. extern symbolS *
  53.     symbol_find(
  54.     char *name);
  55. extern isymbolS *indirect_symbol_new(
  56.     char *name,
  57.     struct frag *frag,
  58.     unsigned long offset);
  59.